Release 10.1A: OpenEdge Development:
ADM Reference


callstringtt.p procedure

External procedure that allows a single RUN statement to invoke a call using a string that defines the parameters and pass up to 64 temp-tables. This procedure is useful for minimizing the number of request it takes to invoke a call on the AppServer.

All outputs and return values from the invoked procedure are available through the properties or parameters supplied as parameters.

Parameters:

pcCallName INPUT CHARACTER

Name of an external or internal procedure or function to be invoked.

pcTargetObjec INPUT CHARACTER

Name of a manager procedure, the filename of a relatively or absolutely pathed procedure, or an integer value that evaluates to a procedure handle. If the value of this parameter is "" or ?, by default, pcCallName contains the name of a procedure that is to be run nonpersistently.

The parameter is optional. If nothing is specified, then "" or ? is passed.

pcTargetFlags INPUT CHARACTER

This parameter can contain modifiers that are used to invoke the persistent procedure. A modifier can be a valid combination of the following:

pcCallParmString INPUT CHARACTER

A string containing the parameters to pass to the procedure or function that is being invoked. The string is a comma-separated list of parameters. Each parameter is a string consisting of space-delimited values in the form "mode data type parameter" where:

pcHandlesToSkip INPUT CHARACTER

By default, the call wrapper does a DELETE OBJECT on tables that are listed in phCallTableHandle01 through 64 before returning. This avoids memory leaks caused by the duplication of temp-tables. In some cases, this behavior might be undesirable, such as when the table being returned is a dynamics temp-table that should be retained in the cache on the server.

To address this issues, this parameter allows a comma- separated list of numbers between 1 and 64 corresponding to the handles below. If a number is found in the list, the corresponding handle is not deleted in the procedure prior to control returning to the caller.

Note: Using an * in a CAN-DO list indicates that none of the handles should be deleted.

The parameter is optional. If nothing is specified, then "" is passed.

phCallTableHandle01 to phCallTableHandle64 INPUT-OUTPUT TABLE-HANDLE

A table-handle that needs to be passed into the call.

The parameter is optional. If nothing is specified, then ? is passed.

Notes:


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095